hysop.operator.base.convergence module

class hysop.operator.base.convergence.ConvergenceBase(variables, convergence=None, u_old=None, implementation=None, **kwds)[source]

Bases: object

Common implementation interface for Convergence operator

variables: dict

dictionary of fields as keys and topologies as values.

convergence: TensorParameter (optional)

Parameter to store the components of ||u-u_old||_infty or ||u-u_old||_infty/||u||_infty

implementation: Implementation, optional, defaults to None

target implementation, should be contained in available_implementations(). If None, implementation will be set to default_implementation().

kwds:

Extra keywords arguments that will be passed towards implementation enstrophy operator __init__.

classmethod available_methods()[source]
classmethod default_method()[source]
discretize()[source]
handle_method(method)[source]
setup(work)[source]